home *** CD-ROM | disk | FTP | other *** search
- NOTE that in the distributed config.mb both ports A and B and are defined
- to use the same serial port. C-BBS only uses whichever port descriptor you
- tell it to use. So if you start it up with port A, it will ignore port B.
- The port B configuration is for a telephone modem and if you
- start up 'mb' and tell it to use port B it will ignore port A.
- This allows you to have a description of both types of port (A is a TNC and
- B is a modem) in one config.mb file.
-
- Briefly, here's how to set up a line that uses a telephone modem.
-
- First, the modem MUST have the Carrier Detect signal (Pin 8) wired up to the
- computer. This is required so that the computer can detect when someone
- hangs up before using the Bye command. The Amiga also needs to see the DSR
- signal (Pin 6). The easiest way to wire up the modem is to use a 25
- conductor ribbon cable. If you are using an Amiga 500, A2000 or A3000 you
- must NOT plug a DB-25 connector into the serial port while the computer is
- turned on unless the connector is made entirely of plastic.
- If the connector has a metal shell, the shell can short pin 9 or 10 to the
- case. If you short pin 10 you will probably only crash the computer. But if
- you short Pin 9, you'll blow a fuse inside the Amiga. The fuse costs about
- $3. The labour to replace it costs about $85 (Canadian)! So be cautious.
-
- Second, the modem MUST have HAYES compatible commands and be set up so that
- it uses +++ as its escape sequence.
-
- Then the port is configured in config.mb like this:
-
- BL23IDS 500 20 600 100 20 4 5 8 15 0 serial.device
- -> Telephone
-
- The port MUST have Line Feed echo ('L') enabled but it must NOT have
- normal character echo enabled ('E').
- The "0 serial.device" at the end of the line should be changed, if
- necessary, to the correct unit number and device name of the port you are
- using for the phone. Alternatively, you can use the -n and -u arguments when
- you start up the 'mb' program.
-
- When the program is started you must specify the -pP argument so that the
- program knows which port to use. In the example above you could use:
-
- run mb -n serial.device -u0 -pB
-
-
- The port must have 'E' for local echo of the commands to the console.
- It is best to have 'I' set to kick off illegal callsigns. There is currently
- no way to provide password checking and the program cannot be used to accept
- a phone forward from an FBB system.
-
- If the BBS detects that it is starting up a port with a modem (i.e. the
- letter 'S' is specified) then when it does the initialization and
- termination using tnc.on.b and tnc.off.b, it bypasses the code that would
- have also tried to get the pass character from a TNC. Your tnc.off.b and
- tnc.on.b files can contain any valid Hayes compatible commands and each
- command line MUST start with "AT" or the Hayes will ignore it. The program
- forces S0=2 after it has done tnc.on.b and forces S0=0 after tnc.off.b
-
- I have used port B as an example above. If you use some other letter, then
- the names of the tnc.on and tnc.off files will change.
-
- A user who calls in, must first have a terminal emulator program that can do
- local echo and also echo a Carriage return as CR/LF. When they see the
- CONNECT message from their modem, they must type the connected message
- containing their callsign that a TNC would have sent the program, so if I
- were logging in through a modem, I would type:
-
- *** CONNECTED to VE5VA
-
- and then the BBS will log me in. Once logged in, a user can type any of the
- commands that they would type if they were on packet.
-
-
- If the sysop types the control-E command to the 'mb' program, the BBS sends
- a "ATS0=0" to prevent the modem answering the phone while the sysop is on
- the system and when the sysop types the Bye command, the BBS sends "ATS0=2"
- to allow the modem to answer the phone again. I have used S0=2 because I may
- eventually do something about modems that provide caller-id (but don't count
- on it!).
-
-
- WARNING: For some strange reason, Commodore has tied the Ring Indicator from
- the modem to the Select pin of the parallel printer port. Strange things
- can happen to you when you are using the printer and a modem at the same
- time. When somebody phones in, the RI lines goes on and off and this turns
- the printer select line on and off. So if you are printing at the same time,
- your printer may stop and report an error. At the moment I am not sure how
- to solve this other than to suggest that you do NOT hook up the Ring
- Indicate pin (Pin 22) to the Amiga. C-BBS does not need this pin at all.
- For a modem connection, the minimum connection to your modem should be:
-
- AMIGA MODEM
- 2 ----- 2 TXD
- 3 ----- 3 RXD
- 4 ----- 4 RTS
- 5 ----- 5 CTS
- 6 ----- 6 DSR (AMIGA must see this one)
- 7 ----- 7 GND
- 8 ----- 8 DCD (Need this one to handle hangup)
- 20 ----- 20 DTR (Your modem might not need this one)
-